package cn.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author qiao
 * @since 2020-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="StudyEmployee对象", description="员工表")
public class StudyEmployee implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String empName;

    private String password;

    private Integer empState;

    private Integer empDepId;

    private Integer empRoleId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer empCreateId;

    @TableField(fill = FieldFill.UPDATE)
    private Date modifiedTime;

    private Integer empModifiedId;

    private String userName;

    private String empEmail;
    @TableField(exist = false)
    private StudyDepartment studyDepartment;

    @TableField(exist = false)
    private StudyRole studyRole;
    @TableField(exist = false)
    private StudyIntegral studyIntegral;

}
